local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local __TS__SourceMapTraceBack = ____lualib.__TS__SourceMapTraceBack
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["6"] = 1,["7"] = 1,["8"] = 3,["9"] = 3,["10"] = 3,["12"] = 3,["13"] = 8,["14"] = 9,["15"] = 10,["16"] = 11,["19"] = 14,["20"] = 8,["21"] = 21,["22"] = 22,["23"] = 22,["24"] = 22,["26"] = 22,["27"] = 21});
local ____exports = {}
local ____keyboard = require("kernel.constant.keyboard")
local KEYBORD_KEY = ____keyboard.KEYBORD_KEY
____exports.default = __TS__Class()
local Keyboard = ____exports.default
Keyboard.name = "Keyboard"
function Keyboard.prototype.____constructor(self)
end
function Keyboard.codeToStr(self, code)
    for key in pairs(KEYBORD_KEY) do
        if KEYBORD_KEY[key] == code then
            return key
        end
    end
    return nil
end
function Keyboard.strToCode(self, str)
    local ____KEYBORD_KEY_str_0 = KEYBORD_KEY[str]
    if ____KEYBORD_KEY_str_0 == nil then
        ____KEYBORD_KEY_str_0 = 0
    end
    return ____KEYBORD_KEY_str_0
end
return ____exports
